<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<c:set scope="request" var="title" value="Message"/>
<!DOCTYPE html>
<html>
    <jsp:include page="head.jsp"/>

    <body>
        <jsp:include page="header.jsp"/>

        <div class="row">
            <div class="container">
                <div class="content row">

                    <div class="containerService">

                        <div class="panel-heading">
                            <ul class="navClient navClient-pills">
                                <li><a href='messages.jsp?receiver=gamby'> Message Inbox </a></li>
                                <li class="active"><a href='compose.jsp'> Compose Message </a></li>						
                                <li><a href='sendItems.jsp'> Sent Item </a></li>
                            </ul>
                        </div>

                        <div class="panel-body">
                            <br><hr>                            
                            <legend>${param.serviceProvider}</legend>
                            <form action='sendMessage.jsp' method='post'>
                                <label>Recipient:</label>
                                <input type="text" class="form-control" value="${param.msgTo}" name="receiver"></p>
                                <br>
                                <label>Message:</label>
                                <textarea class="form-control" name="message" rows="10" cols="50"></textarea>
                                <br>
                                <button type="submit" class="btn btn-primary">SEND MESSAGE</button>
                            </form>
                        </div>

                    </div><!-- END panel-body -->

                </div><!-- END containerService -->

            </div><!-- END CONTENT CONTENT ROW -->
        </div><!-- END CONTAINER -->
    </div><!-- END ROW -->

    <jsp:include page="footer.jsp"/>

</body>
</html>
